/*
 * Copyright (c) 2005, 2014 vacoor
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 */
package org.vacoor.nothing.web.misc.license;

import java.util.Date;

public class LicenseInfoImpl extends LicenseInfo implements Cloneable {
    public Date l;

    public Object clone() {
        return super.clone();
    }

    public boolean equals(Object obj) {
        if (this == obj) return true;
        if ((obj == null) || (getClass() != obj.getClass())) return false;
        if (!super.equals(obj)) return false;

        LicenseInfoImpl localf = (LicenseInfoImpl) obj;

        if (this.l != null ? !this.l.equals(localf.l) : localf.l != null) {
            return false;
        }
        return true;
    }

    public int hashCode() {
        int i = super.hashCode();
        i = 31 * i + (this.l != null ? this.l.hashCode() : 0);
        return i;
    }

    public String toString() {
        StringBuffer localStringBuffer = new StringBuffer();
        localStringBuffer.append("\n");
        localStringBuffer.append(super.toString());
        localStringBuffer.append("maintenanceDueDate:").append(this.l).append("\n");
        return localStringBuffer.toString();
    }
}